package com.ow.dva.dvamicroservicetest01.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 描述 :
 * </p>
 * <p>
 * 包名 : com.ow.dva.eurekatest.eurekaclient01.controller
 *
 * @author GaoXiang
 * @version V1.1
 * @since 19-2-20
 */
@RestController
public class HelloController {

    Logger logger = LoggerFactory.getLogger(this.getClass());

    @RequestMapping("/hello")
    public String hello(){
        logger.info("Client01: hello!");
        return "Client01: hello";
    }
}
